package test.dict;
public class Tda {
    // BIZ_YES_OR_NO--是或者否
    public enum BIZ_YES_OR_NO{
        YES("1", "是"),

        NO("0", "否");

        private final String dictCode;

        private final String dictName;

        BIZ_YES_OR_NO(String dictCode, String dictName) {
            this.dictCode = dictCode;
            this.dictName = dictName;
        }

        public static String getEntryCode() {
            return "BIZ_YES_OR_NO";
        }

        public static String getEntryName() {
            return "是或者否";
        }

        public String getDictCode() {
            return dictCode;
        }

        public String getDictName() {
            return dictName;
        }

    }
    // TDA_TDAB_SYNC_MODE--同步方式
    public enum TDA_TDAB_SYNC_MODE {
        INIT("1", "系统初始化"),

        MANUAL("2", "人工同步"),

        TIMING("3", "定时同步");

        private final String dictCode;

        private final String dictName;

        TDA_TDAB_SYNC_MODE(String dictCode, String dictName) {
            this.dictCode = dictCode;
            this.dictName = dictName;
        }

        public static String getEntryCode() {
            return "TDA_TDAB_SYNC_MODE";
        }

        public static String getEntryName() {
            return "同步方式";
        }

        public String getDictCode() {
            return dictCode;
        }

        public String getDictName() {
            return dictName;
        }

    }
    // TDA_TDAB_SYNC_STATUS--同步状态
    public enum TDA_TDAB_SYNC_STATUS{
        NOT_STARTED("1", "未开始"),

        IN_PROGRESS("2", "同步中"),

        SUCCESS("3", "同步成功"),

        FAILURE("4", "同步失败");

        private final String dictCode;

        private final String dictName;

        TDA_TDAB_SYNC_STATUS(String dictCode, String dictName) {
            this.dictCode = dictCode;
            this.dictName = dictName;
        }

        public static String getEntryCode() {
            return "TDA_TDAB_SYNC_STATUS";
        }

        public static String getEntryName() {
            return "同步状态";
        }

        public String getDictCode() {
            return dictCode;
        }

        public String getDictName() {
            return dictName;
        }
    }
}
